package com.example.vueback.service;

import com.example.vueback.mapper.UserMapper;
import com.example.vueback.model.Userinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public Userinfo getUserinfoByName(String username) {
        return userMapper.getUserinfoByName(username);
    }

}

